<template>
    <h2>大学详情介绍</h2>
    <h3>{{ $route.params.id }}</h3>
    <h3>{{ route.params.id }}</h3>
</template>

<script setup>
import { useRoute } from 'vue-router';
const route = useRoute();

console.log(route.params.id);

</script>

<style lang="scss" scoped>

</style>